package com.sihan.framework.etm.mapper.baseData;

import com.sihan.framework.etm.vo.baseData.DeviceWithPositionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.framework.mybatis.mapper.BaseMapper;
import com.sihan.framework.etm.entity.baseData.DeviceCoordinateRecordModel;

import java.util.Date;
import java.util.List;

@Mapper
public interface DeviceCoordinateMapper extends BaseMapper<DeviceCoordinateRecordModel, String>{

	DeviceCoordinateRecordModel queryLastCoordinateByDeviceId(@Param("deviceId") String deviceId);


	List<DeviceWithPositionVO> deviceWithPosition(@Param("codeList") List<String> codeList,@Param("startTime")Date startTime,@Param("endTime") Date endTime );


}
